home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000287_fdc@columbia.edu_Wed Aug 14 09:46:34 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  59 lines

  1. Article: 13617 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: K95 within EMACS (was: stdin/stdout busted?)
  6. Date: 14 Aug 2002 09:45:23 -0400
  7. Organization: Columbia University
  8. Lines: 42
  9. Message-ID: <ajdmtj$i3a$1@watsol.cc.columbia.edu>
  10. References: <u4rdyw694.fsf@att.net>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1029332750 15608 128.59.39.139 (14 Aug 2002 13:45:50 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 14 Aug 2002 13:45:50 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13617
  16.  
  17. In article <u4rdyw694.fsf@att.net>,
  18. Thomas A. Horsley <tom.horsley@att.net> wrote:
  19. : I'm trying to see if I can run k95.exe (version 2.0) under emacs in a shell
  20. : buffer on Windows XP.  The command line docs say the -64 and -32 options can
  21. : be used to force it to talk to stdin and stdout, but whenever I try to get
  22. : it to start in a shell (with the emacs make-comint function), it just beeps
  23. : a couple of system error sounds at me and then emacs says the process
  24. : abnormally terminated with exit code 1.
  25. You have to use the Console version (K95.EXE, not K95G.EXE).  Try this:
  26.  
  27.   k95 -# 96
  28.  
  29. It works for me; it even transfers files.  The only fly in the ointment is
  30. that stuff like command-line editing (e.g. Ctrl-U), completion (Esc or Tab),
  31. ?-help, don't work as expected.  Escaping back from CONNECT mode is a bit
  32. tricky too; you have to type:
  33.  
  34.   Ctrl-Q Ctrl-] c CR
  35.  
  36. That's Ctrl-Q followed by Ctrl-Rightbracket, then the letter C, then press
  37. the Enter key.  In fact, every control character is intercepted by EMACS,
  38. so to pass it through to Kermit you have to quote it with Ctrl-Q, and you
  39. probably also have to hit Enter afterwards.
  40.  
  41. And of course, when K95 is using stdio, there is no terminal emulation,
  42. so you can't (for example) run EMACS in your CONNECT session to the host :-)
  43.  
  44. But on the plus side, your CONNECT session *is* an EMACS buffer, so you can
  45. move around in it, edit it, etc, with regular EMACS commands.
  46.  
  47. : (This is all just testing to see if I want to try and generate something
  48. : like ange-ftp or tramp that uses kermit for the connections and file
  49. : transfer operations under emacs, so there is method to this madness :-).
  50. :
  51. It's a fiendish idea.  Let us hear more!
  52.  
  53. Speaking of file transfer under EMACS, see:
  54.  
  55.   ftp://kermit.columbia.edu/kermit/b/emkermit.el
  56.  
  57. - Frank
  58.